* {
  font-family: "Inter";
}

.theme-btn {
  text-align: center;
  margin: 20px 0;
  background: #334155;
  border: none;
  font-size: 1.3rem;
  padding: 0.5rem 1rem;
  border-radius: 40px;
  cursor: pointer;
  transition: 0.4s;
}

.theme-btn:hover {
  background-color: #184bb9;
  transform: translateY(-3px);
}
body.light .theme-btn {
  background-color: #727e8d;
}

body.light .theme-btn:hover {
  transform: translateY(-3px);
  background-color: #475569;
}

#themeToggle {
  transition: 0.4s ease;
}
body {
  background-color: #0f172a;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

body.light {
  background: linear-gradient(200deg, #858ea0, #4b5360);
}

.about-us-title {
  font-size: 28px;
  font-weight: bold;
  color: #3b82f6;
  text-align: center;
  margin-top: 50px;
  margin-bottom: 20px;
}

body.light .about-us-title {
  color: #000000;
}

.div {
  font-size: 20px;
  font-weight: 400;
  margin-top: -10px;
  max-width: 600px;
  width: 90%;
  margin: 0 auto;
  padding: 60px 30px;
  min-height: 250px;
  background-color: #1e293b;
  color: #cbd5e1;
  border-radius: 20px;
  text-align: center;
  transition: 0.3s ease;
  box-shadow: 0 12px 24px rgba(59, 130, 246, 0.2);
}

.div i {
  font-size: 40px;
  margin-bottom: 15px;
  display: block;
}

.div p {
  line-height: 1.6;
  margin: 0;
}

body.light .div {
  box-shadow: 0 12px 24px #94a3b8;
  background-color: #cbd5e1;
  color: #0f172a;
}
footer {
  color: #cbd5e1;
  text-align: center;
  padding: 2rem;
  margin-top: 3rem;
}

body.light footer {
  color: #0f172a;
}

.Home {
  cursor: pointer;
  border: none;
  font-size: 18px;
  bottom: 30px;
  left: 30px;
  padding: 12px 28px;
  background-color: #3b82f6;
  color: #f8fafc;
  position: fixed;
  transition: 0.3s ease;
  border-radius: 40px;
  font-weight: bold;
  z-index: 100;
}

.Home:hover {
  background-color: #2563eb;
  transform: translateY(-3px);
}

body.light .Home {
  background-color: #94a3b8;
  color: #0f172a;
}

body.light .Home:hover {
  background-color: #475569;
  color: #cbd5e1;
}

@media (max-width: 768px) {
  .div {
    margin-left: 20px;
    margin-right: 20px;
    width: auto;
    padding: 40px 20px;
    height: auto;
  }
}

/* ========== انیمیشن ========== */
.animate-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}